package com.runvp.common.model.auth;

import java.io.Serializable;

/**
 * 用户信息
 *
 * @author xkk update
 */
public class LoginUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户唯一标识
     */
    private String token;

    /**
     * 用户名id
     */
    private Long userId;


    /**
     * 登录时间
     */
    private Long loginTime;

    /**
     * 过期时间
     */
    private Long expireTime;

    /**
     * 登录IP地址
     */
    private String ipAddr;
    /**
     * 用户信息
     */
    private BizUserBO userBO;



    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }



    public Long getUserId() {
        return userId;
    }

    public LoginUser setUserId(Long userId) {
        this.userId = userId;
        return this;
    }


    public String getIpAddr() {
        return ipAddr;
    }

    public LoginUser setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
        return this;
    }

    public BizUserBO getUserBO() {
        return userBO;
    }

    public void setUserBO(BizUserBO userBO) {
        this.userBO = userBO;
    }
}
